﻿

namespace Stee.CAP8.MessageBus.SampleUI.Models
{
    using System;

    [Serializable]
    public class Person
    {
        public string Name { get; set; }

        public int Age { get; set; }


        public Person(string name, int age)
        {
            this.Name = name;
            this.Age = age;
        }


        public override string ToString()
        {
            return $"Name, Age => {this.Name}, {this.Age}";
        }
    }
}
